package com.aurora.oa.work.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/3/31 0031.
 */
public class CompanyStructureBean {


    /**
     * number : 2
     * name : 技术部
     * id : 33
     * childNode : [{"head":{"createtime":1488263603,"id":"dbde00efbe3a4aed920aa6f130def3b0","name":"files.png","path":"attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png","poid":"1","poname":"patrollog","realname":"","size":369998,"suffix":"png","url":"/aurora-oa/attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png","userid":"815c2802cff34d7292204d7af532aa45"},"name":"weir","id":"815c2802cff34d7292204d7af532aa45"},{"head":{"createtime":1488263603,"id":"dbde00efbe3a4aed920aa6f130def3b0","name":"files.png","path":"attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png","poid":"1","poname":"patrollog","realname":"","size":369998,"suffix":"png","url":"/aurora-oa/attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png","userid":"815c2802cff34d7292204d7af532aa45"},"name":"weir","id":"815c2802cff34d7292204d7af532aa45"}]
     */

    private int number;
    private String name;
    private int id;
    private List<ChildNodeBean> childNode;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<ChildNodeBean> getChildNode() {
        return childNode;
    }

    public void setChildNode(List<ChildNodeBean> childNode) {
        this.childNode = childNode;
    }

    public static class ChildNodeBean implements Serializable{
        /**
         * head : {"createtime":1488263603,"id":"dbde00efbe3a4aed920aa6f130def3b0","name":"files.png","path":"attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png","poid":"1","poname":"patrollog","realname":"","size":369998,"suffix":"png","url":"/aurora-oa/attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png","userid":"815c2802cff34d7292204d7af532aa45"}
         * name : weir
         * id : 815c2802cff34d7292204d7af532aa45
         */

        private HeadBean head;
        private String name;
        private String id;
        public boolean isCheck;

        public HeadBean getHead() {
            return head;
        }

        public void setHead(HeadBean head) {
            this.head = head;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public static class HeadBean implements Serializable{
            /**
             * createtime : 1488263603
             * id : dbde00efbe3a4aed920aa6f130def3b0
             * name : files.png
             * path : attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png
             * poid : 1
             * poname : patrollog
             * realname :
             * size : 369998
             * suffix : png
             * url : /aurora-oa/attachment/image/815c2802cff34d7292204d7af532aa45/20170322/files.png
             * userid : 815c2802cff34d7292204d7af532aa45
             */

            private int createtime;
            private String id;
            private String name;
            private String path;
            private String poid;
            private String poname;
            private String realname;
            private int size;
            private String suffix;
            private String url;
            private String userid;

            public int getCreatetime() {
                return createtime;
            }

            public void setCreatetime(int createtime) {
                this.createtime = createtime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getPoid() {
                return poid;
            }

            public void setPoid(String poid) {
                this.poid = poid;
            }

            public String getPoname() {
                return poname;
            }

            public void setPoname(String poname) {
                this.poname = poname;
            }

            public String getRealname() {
                return realname;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public String getSuffix() {
                return suffix;
            }

            public void setSuffix(String suffix) {
                this.suffix = suffix;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getUserid() {
                return userid;
            }

            public void setUserid(String userid) {
                this.userid = userid;
            }
        }
    }
}
